import request from '@/utils/request'

// 查询出入库任务明细列表
export function listMdIoTaskDet(query) {
  return request({
    url: '/storage/mdIoTaskDet/list',
    method: 'get',
    params: query
  })
}

// 查询出入库任务明细详细
export function getMdIoTaskDet(detId) {
  return request({
    url: '/storage/mdIoTaskDet/' + detId,
    method: 'get'
  })
}

// 新增出入库任务明细
export function addMdIoTaskDet(data) {
  return request({
    url: '/storage/mdIoTaskDet',
    method: 'post',
    data: data
  })
}

// 修改出入库任务明细
export function updateMdIoTaskDet(data) {
  return request({
    url: '/storage/mdIoTaskDet',
    method: 'put',
    data: data
  })
}

// 删除出入库任务明细
export function delMdIoTaskDet(detId) {
  return request({
    url: '/storage/mdIoTaskDet/' + detId,
    method: 'delete'
  })
}
